package com.black.common.mybatis.datascope;


import java.util.ArrayList;
import java.util.List;

/**
 * @author linwenfeng
 */
public class DataScopeHandlerInterceptorRegistry {

    private final List<DataScopeSqlHandler> registrations = new ArrayList<>();

    public void addInterceptor(DataScopeSqlHandler dataHandler){
        this.registrations.add(dataHandler);
    }

    public List<DataScopeSqlHandler> getRegistrations() {
        return registrations;
    }
}
